package com.canton.service;

import com.canton.dao.entity.GrapeNode;
import org.springframework.data.repository.query.Param;

import java.util.List;
import java.util.Map;

public interface GrapeService {
    GrapeNode findByName(@Param("name") String name);
    List<GrapeNode> findAll();
    List<GrapeNode> findByNameLike(@Param("likes") String likes);
    public Map<String, Object> graph(int limit);
//    public void fetchMovieGraph(String name);
//    查找该节点的相关节点、边

}
